package com.xprime.mobileFramework;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

import com.xprime.mobileFramework.file.FileDownLoadAsync;

public class XprimeMobileANEAndroidActivity extends Activity implements OnClickListener {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
//        Button btn = ( Button ) findViewById( R.id.button1 );
//        btn.setOnClickListener( this );
    }

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub

//		Log.i("오픈","하");
		FileDownLoadAsync fdown = new FileDownLoadAsync();
		fdown.context = this;
		fdown.execute( "test.ppt", "http://winnie.nafree.net/test.ppt", "download" );
		
//		Utils.downloadImage(this, "http://winnie.nafree.net/test.ppt", "/download/test.ppt");
		
//		FileOpen fo = new FileOpen();
//		fo.open( this, "test.ppt", "download/test.ppt", null );
	}
}